package com.demo1;

public class Main {
    public static void main(String[] args) {
        Context contextA=null;
        contextA=new Context(new ConcreteStraergyA() );
        contextA.ContextInterface();
        Context ContextB=new Context(new ConcreteStraergyB());
        ContextB.ContextInterface();
    }
}
